/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.buzzwords.clientside.domain;

import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author potlow
 */
public class Result {

    private boolean success;
    private List<ErrorField> errors = new ArrayList<ErrorField>();

    public Result() {
        
    }

    public Result(boolean success) {
        this.success = success;
    }

    public List<ErrorField> getErrors() {
        return errors;
    }

    public void setErrors(List<ErrorField> errors) {
        this.errors = errors;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }
    

}
